//
//  MainViewController.m
//  KVO和链式编程
//
//  Created by dihuijun on 17/4/13.
//  Copyright © 2017年 Cycle. All rights reserved.
//

#import "MainViewController.h"
#import "KVOViewController.h"
#import "LianShiViewController.h"

@interface MainViewController ()

@end

@implementation MainViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
}

#pragma mark ---- kvo
- (IBAction)ClickKVO:(UIButton *)sender {
    KVOViewController *kvo = [[KVOViewController alloc]init];
    [self.navigationController pushViewController:kvo animated:YES];
    
}
#pragma mark ---- 链式编程
- (IBAction)ClickLianshi:(UIButton *)sender {
    
    LianShiViewController *kvo = [[LianShiViewController alloc]init];
    [self.navigationController pushViewController:kvo animated:YES];
    
    
    
}




@end
